package 设计模式.行为型模式.中介者模式;

/**
 * @author MT
 * @date 2019-11-13 18:42
 */
public abstract class Colleague {

    protected Mediator mediator;

    public void setMedium(Mediator mediator) {
        this.mediator = mediator;
    }

    public abstract void receive();

    public abstract void send();
}
